#include "DScene.h"

USING_NS_CC;

DScene::DScene()
{
}

DScene::~DScene()
{
}

bool DScene::init()
{
    if ( !BaseScene::init() )
        return false;
	
	_player = Character::create();
	_player->retain();
    _player->setSpeed(0.2);
	_player->setBodyModel(1);
	_goLayer->addChild(_player);

    return true;
}

void DScene::run(long tick)
{
    _player->render(tick);
}